﻿using System.ComponentModel.DataAnnotations;

namespace SRM.WebSite.Models.Account
{
    public class EditUserViewModel
    {
        [Display(Name = "编码")]
        public string Id { get; set; }

        public string RoleName { get; set; }

        public string SupplierNo { get; set; }

        [Display(Name = "供应商名称")]
        [Required(ErrorMessage = "供应商名称不能为空！")]
        public string SupplierName { get; set; }

        [Display(Name = "用户名")]
        [Required(ErrorMessage = "用户名不能为空！")]
        public string UserName { get; set; }

        [Display(Name = "手机号")]
        [DataType(DataType.PhoneNumber)]
        public string PhoneNumber { get; set; }

        public bool LockoutEnabled { get; set; }

        public int AccessFailedCount { get; set; }
    }
}
